package com.example.blog.service;

import com.example.blog.entity.DictionaryItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.entity.dto.dictionaryGroup.AddOrUpdateDictGroupDTO;

import java.util.List;

/**
 * <p>
 * 字典项表 服务类
 * </p>
 *
 * @author wlh
 * @since 2024-01-10
 */
public interface DictionaryItemService extends IService<DictionaryItem> {

    void addOrUpdate(AddOrUpdateDictGroupDTO addOrUpdateDictGroupDTO);

    List<DictionaryItem> getByGroupId(Long groupId);
}
